

//
//  ZAgreementViewController.m
//  ZQLearn
//
//  Created by macfeel on 2019/5/5.
//  Copyright © 2019 macfeel. All rights reserved.
//

#import "ZAgreementViewController.h"

@interface ZAgreementViewController ()

@end

@implementation ZAgreementViewController

- (void)viewDidLoad {
    
    ///这个url放在最上面才可以
    
    self.url = kUserAgreement;
    
    [super viewDidLoad];
    
    [self.navigationItem setItemWithTitle:@"用户协议" textColor:kWhiteColor fontSize:18 itemType:center];
    
    // Do any additional setup after loading the view.
}
-(void)viewWillAppear:(BOOL)animated{

    [super viewWillAppear:animated];
    self.navigationController.navigationBar.barTintColor = kSystemtBlue;
}


-(void)viewWillDisappear:(BOOL)animated{
    [super viewWillDisappear:animated];

    self.navigationController.navigationBar.barTintColor = kBackgroundColor;
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
